* {
  /* 全局样式 */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #000;
  --black: #484848;
  --deep-black: #242424;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.flex-1 {
  flex: 1
}

.ml-auto {
  margin-left: auto;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.dropdown {
  position: absolute;
  background-color: #fff;
  color: var(--black);
  max-width: 20rem;
  min-width: 10rem;
  box-shadow: rgba(94, 93, 102, 0.1) 1px 1px 0px 0px, rgba(94, 93, 102, 0.14) 2px 2px 3px 0px;
}

.dropdown .dropdown-item {
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

.dropdown .dropdown-item:hover {
  color: var(--deep-black);
  background-color: #f6f6f6;
}

.dropdown-item .dropdown-item-icon {
  margin-right: 0.5rem;
}

.btn-submit,
.btn-confirm {
  outline: none;
  background-color: rgb(83, 143, 255);
  color: #fff;
  padding: 0.4rem 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-submit {
  margin-top: 0.5rem;
}

.chat-content-input {
  flex: 1;
}



#chat-object {
  text-align: center;
  cursor: pointer;
}

#chat-profile {
  text-align: center;
  cursor: pointer;
}

.section-title {
  background-color: rgb(83, 143, 255);
  padding: 0.5rem;
  color: #fff;
}

.page-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.chat-content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chat-textarea {
  flex: 1;
  padding: 0.5rem;
}

#chat-content {
  padding: 0.5rem;
  height: 100%;
  width: 100%;
  resize: none;
  outline: none;
  border: 1px solid black;
}

.chat-footer {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
}

.chat-input-outer {
  flex: 1;
  padding: 0 0.5rem;
}

.chat-input {
  width: 100%;
  outline: none;
  line-height: 2rem;
  padding: 0 0.5rem
}


.chat-current {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  overflow: hidden;
}

.chat-current img {
  height: 100%;
  width: 100%;
}

#current-sender {
  padding: 0.4rem 0;
}

select {
  outline: none;
  padding: 0.5rem 0;
}


.chat-create {
  margin-right: 1rem;
}